package cate.game.activity.treasure.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTreasure;
import cate.game.res.MixRes;
import easy.java.dev.note.NoteField;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@NoArgsConstructor
@ClientMsg(title = "宝藏抽奖 の 返回")
public class TreasureDrawResp implements MsgOutput {
    @NoteField(value = "获得的奖励")
    public List<MixRes> reward = new ArrayList<>();

    @NoteField(value = "暴击的奖励")
    public List<MixRes> rewardAdd = new ArrayList<>();

    public TreasureDrawResp(List<MixRes> reward, List<MixRes> rewardAdd) {
        this.reward = reward;
        this.rewardAdd = rewardAdd;
    }
    @Override
    public MsgConfig conf() {
        return MsgIdBTreasure.DRAW__RESP;
    }
}
